package com.delu.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 充值记录表
 * </p>
 *
 * @author Liu
 * @since 2021-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pay_rank")
@AllArgsConstructor
@NoArgsConstructor
public class PayRank implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 充值记录ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 充值金额
     */
    private BigDecimal payMoney;

    /**
     * 流水号
     */
    private String serialNum;

    /**
     * 充值时间
     */
    private LocalDateTime createTime;

    /**
     * 消费金额
     */
    private BigDecimal consumerMoney;

    /**
     * 消费时间
     */
    private LocalDateTime consumerTime;

    /**
     * 用户ID
     */
    private Long userId;


    /**
     * 退款金额
     */
    private BigDecimal refundMoney;

    /**
     * 退款时间
     */
    private LocalDateTime refundTime;

    /**
     * 消费状态
     */
    private Integer status;

}
